package com.hznu.ucenter.service;

import com.hznu.ucenter.entity.Msg;
import com.hznu.ucenter.entity.Rsu;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hznu.ucenter.entity.Vehicle;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author cdd
 * @since 2021-04-02
 */
public interface RsuService extends IService<Rsu> {

    List<Rsu> getRsuList();

    List<Vehicle> getCarInside(Integer rsuId);

    List<Msg> getMsgListByRsuId(int rsuId);

    void deleteRsu(int rsuId);

    void addRsu(Rsu rsu);
}
